﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using DiscoveryLogic.DataServices.DataSources;

namespace DiscoveryLogic.UI.Layouts.Controls
{
    /// <summary>
    /// Represents a page (back side).
    /// </summary>
    public partial class PageTurnPageBack : UserControl
    {
        #region Private Fields

            private FrameworkElement control;
            private Statement statement;
            private const int transactionsPerPage = 16;
            private int currentPage = 0;

        #endregion Private Fields

        #region Constructors

            /// <summary>
            /// Creates a new instance of PageTurnPageBack
            /// </summary>
            public PageTurnPageBack()
            {
                InitializeComponent();
                control = Root;
            }

        #endregion Constructors

        #region Public Properties
           
            public int CurrentPage
            {
                get
                {
                    return currentPage;
                }
                set
                {
                    currentPage = value;
                }
            }
           
            public FrameworkElement Control
            {
                get
                {
                    return control;
                }
                set
                {
                    control = value;
                }
            }

            public Statement Statement
            {
                get
                {
                    return statement;

                }
                set
                {
                    statement = value;
                }
            }

        #endregion Public Properties       

        #region Public Events

            public event EventHandler InfoTreatmentRequested;

        #endregion Public Events
    }
}
